module.exports = {
    devServer: {
        disableHostCheck: true,
        proxy: {
            // '/api': {
            //     target: 'http://127.0.0.1:8080',
            //     changeOrigin: true,
            //     pathRewrite: {
            //         '^/api': ''
            //     }
            // },
            "/zhanwang": {
                target: "https://shop.battlenet.com.cn",
                changeOrigin: true,
                pathRewrite: {
                    "^/zhanwang": "",
                },
            },
        }
    }
}